home *** CD-ROM | disk | FTP | other *** search
/ Acorn Risc Technologies StrongARM CD-ROM / Acorn Risc Technologies StrongARM CD-ROM.iso / ftp / documents / appnotes / 046_060 / 047c / Text
Encoding:
Text File  |  1993-08-02  |  3.9 KB  |  86 lines

  1. 5th August 1992
  2. -----------------------------------------------------------------------------
  3. Support Group Application Note 
  4. Number: 047
  5. Issue: 2 
  6. Author: D J Bell
  7. -----------------------------------------------------------------------------
  8.  
  9. TERMINAL Application Note
  10.  
  11. -----------------------------------------------------------------------------
  12. Applicable Hardware: BBC Master 128
  13.  
  14. Related Application Notes:
  15.  
  16.  
  17. -----------------------------------------------------------------------------
  18. Copyright (C) Acorn Computers Limited 1992
  19.  
  20. Every effort has been made to ensure that the information in this leaflet is 
  21. true and correct at the time of printing. However, the products described in
  22. this leaflet are subject to continuous development and improvements and
  23. Acorn Computers Limited reserves the right to change its specifications at
  24. any time. Acorn Computers Limited cannot accept liability for any loss or
  25. damage arising from the use of any information or particulars in this
  26. leaflet. ACORN, ECONET and ARCHIMEDES are trademarks of Acorn Computers
  27. Limited.
  28. -----------------------------------------------------------------------------
  29. Support Group
  30. Acorn Computers Limited
  31. Acorn House
  32. Vision Park
  33. Histon
  34. Cambridge       CB4 4AE
  35. -----------------------------------------------------------------------------
  36.  
  37.  
  38. The TERMINAL software in the Master 128 machine is a "Language" ROM.  It
  39. does not attempt to emulate any specific terminal as such, but provides the
  40. low level code necessary to enable the machine to respond to extended code
  41. sequences sent by a host computer.  the ISO 2022-1982 international standard
  42. discusses the use of these techniques.  Terminal Emulations such as the "VT
  43. 100" use these techniques and employ a range of "Escape sequences" discussed
  44. in ANSI X3.64.  The TERMINAL implements most of the more useful "Escape
  45. sequences" so that the hardware controlled by TERMINAL can behave as an
  46. "ANSI" terminal in a similar way to a VT100 terminal etc.
  47.  
  48. TERMINAL has a Command mode and a Communications mode.  In the Command mode,
  49. specific TERMINAL commands are accepted in addition to operating system Star
  50. commands.  In Communications mode, information is exchanged between the Host
  51. computer and the Master 128.
  52.                         
  53.  
  54. Sending Text
  55.  
  56. One typical use of TERMINAL is to send text messages to a remote computer. 
  57. Either the View wordprocessor, or the Edit text editor can be used to create
  58. these messages:
  59.  
  60. VIEW:  Text created in View must be SPOOL'd to a filing system prior to
  61. being sent via TERMINAL.  It is important that the fist line of text is
  62. blank ie it effectively just generates a "Return" character.  When the text
  63. is in RAM, a file is opened using the *SPOOL filename command.  The View
  64. "SCREEN" command is then used to display the text.  Whilst being displayed
  65. on the screen, it is also SPOOL'd to the file previously opened.  When the
  66. complete file has been displayed, the file can be closed using the *SPOOL
  67. command without a filename.  The TERMINAL language is now entered using
  68. *TERMINAL or suitable abbreviation.  When the "=" prompt is displayed in
  69. command mode, the *EXEC filename command is issued.  The redundant embedded
  70. commands in the SPOOL'd file will at first be displayed in command mode and
  71. will be ignored.  When the first blank line ie a Return character is
  72. encountered, the TERMINAL will be switched into Communications mode and the
  73. text file will be sent to the host computer.  When complete, CTRL + f1 will
  74. return the TERMINAL to command mode if required.
  75.  
  76. NB.  You can demonstrate the sending of text without a host being present by
  77. switching TERMINAL into Local mode prior to sending the file.  this is
  78. carried out by pressing CTRL +f8.
  79.  
  80. EDIT:  There is no need to carry out the SPOOLing operation with EDIT, as
  81. the text file will automatically be in a suitable ASCII form.  After
  82. ensuring that the text begins with a blank line to generate the Return
  83. character, an EDIT file is SAVE'd using f3 whilst in EDIT.  When in
  84. TERMINAL, the file is *EXEC'd as for View.
  85.  
  86.